\section{fsm\+\_\+sii.\+c File Reference}
\label{fsm__sii_8c}\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}


Ether\+C\+AT slave information interface F\+SM.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT}~20
\begin{DoxyCompactList}\small\item\em Read/write timeout [ms]. \end{DoxyCompactList}\item 
\mbox{\label{fsm__sii_8c_aaf562911fbe9d8d473390f97c2a185e1}} 
\#define \textbf{ S\+I\+I\+\_\+\+I\+N\+H\+I\+B\+IT}~5
\begin{DoxyCompactList}\small\item\em Time before evaluating answer at writing [ms]. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: S\+T\+A\+RT R\+E\+A\+D\+I\+NG. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: R\+E\+AD C\+H\+E\+CK. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: R\+E\+AD F\+E\+T\+CH. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: S\+T\+A\+RT W\+R\+I\+T\+I\+NG. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: W\+R\+I\+TE C\+H\+E\+CK. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em S\+II state\+: W\+R\+I\+TE C\+H\+E\+CK 2. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em State\+: E\+ND. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em State\+: E\+R\+R\+OR. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+init} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+clear} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+read} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, uint16\+\_\+t word\+\_\+offset, \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+addressing\+\_\+t} mode)
\begin{DoxyCompactList}\small\item\em Initializes the S\+II read state machine. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+write} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, uint16\+\_\+t word\+\_\+offset, const uint16\+\_\+t $\ast$value, \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+addressing\+\_\+t} mode)
\begin{DoxyCompactList}\small\item\em Initializes the S\+II write state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+exec} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Executes the S\+II state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+success} (\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Returns, if the master startup state machine terminated with success. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT slave information interface F\+SM. 



\subsection{Macro Definition Documentation}
\mbox{\label{fsm__sii_8c_a19313c5c625a9bd6a3181bc7ab427ab8}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT@{S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT}}
\index{S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT@{S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT}
{\footnotesize\ttfamily \#define S\+I\+I\+\_\+\+T\+I\+M\+E\+O\+UT~20}



Read/write timeout [ms]. 

Used to calculate timeouts bsed on the jiffies counter.

\begin{DoxyAttention}{Attention}
Must be more than 10 to avoid problems on kernels that run with a timer interupt frequency of 100 Hz. 
\end{DoxyAttention}


Definition at line 49 of file fsm\+\_\+sii.\+c.



\subsection{Function Documentation}
\mbox{\label{fsm__sii_8c_aa962238df8a96fb72fb83c321d91411d}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+reading (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: S\+T\+A\+RT R\+E\+A\+D\+I\+NG. 

Starts reading the slave information interface. 
\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 166 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a720750644f92278027d4ae02925b277b}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+check (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: R\+E\+AD C\+H\+E\+CK. 

Checks, if the S\+I\+I-\/read-\/datagram has been sent and issues a fetch datagram. 
\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 203 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_ac4212d034457619e005ac2d3752634a0}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+read\+\_\+fetch (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: R\+E\+AD F\+E\+T\+CH. 

Fetches the result of an S\+I\+I-\/read datagram. 
\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 250 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_ace13a2908e3966675307ff47e9c77c99}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+start\+\_\+writing (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: S\+T\+A\+RT W\+R\+I\+T\+I\+NG. 

Starts writing a word through the slave information interface. 
\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 320 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_aaee69e244c350ef77c397fda8e9bf3f8}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: W\+R\+I\+TE C\+H\+E\+CK. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 350 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a3898542c0741239514008916c797e53e}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+write\+\_\+check2 (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



S\+II state\+: W\+R\+I\+TE C\+H\+E\+CK 2. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 389 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a688ff966f39ddf066c3552fb8d3e16c8}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+end (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



State\+: E\+ND. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 484 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_af706e0c6d40417a78534ba79c25707b2}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+state\+\_\+error (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



State\+: E\+R\+R\+OR. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 472 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_add8c9461798f2a96a05ae57c93885890}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+init@{ec\+\_\+fsm\+\_\+sii\+\_\+init}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+init@{ec\+\_\+fsm\+\_\+sii\+\_\+init}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em datagram} & datagram structure to use \\
\hline
\end{DoxyParams}


Definition at line 74 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a6dbd5f2a2815c2b0852cd5272279f8c6}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+clear@{ec\+\_\+fsm\+\_\+sii\+\_\+clear}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+clear@{ec\+\_\+fsm\+\_\+sii\+\_\+clear}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Destructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 88 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_aa20332ff7b8eb1f4510ebb9bfdbdef81}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+read@{ec\+\_\+fsm\+\_\+sii\+\_\+read}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+read@{ec\+\_\+fsm\+\_\+sii\+\_\+read}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+read()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{uint16\+\_\+t}]{word\+\_\+offset,  }\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+addressing\+\_\+t}}]{mode }\end{DoxyParamCaption})}



Initializes the S\+II read state machine. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em slave} & slave to read from \\
\hline
{\em word\+\_\+offset} & offset to read from \\
\hline
{\em mode} & addressing scheme \\
\hline
\end{DoxyParams}


Definition at line 98 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_adb460a43b75a53c0d26b9058d685fee3}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+write@{ec\+\_\+fsm\+\_\+sii\+\_\+write}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+write@{ec\+\_\+fsm\+\_\+sii\+\_\+write}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+write()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+sii\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{uint16\+\_\+t}]{word\+\_\+offset,  }\item[{const uint16\+\_\+t $\ast$}]{value,  }\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+addressing\+\_\+t}}]{mode }\end{DoxyParamCaption})}



Initializes the S\+II write state machine. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em slave} & slave to read from \\
\hline
{\em word\+\_\+offset} & offset to read from \\
\hline
{\em value} & pointer to 2 bytes of data \\
\hline
{\em mode} & addressing scheme \\
\hline
\end{DoxyParams}


Definition at line 116 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a83b1d58217c9c46ee1202b6bee1cabab}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+exec@{ec\+\_\+fsm\+\_\+sii\+\_\+exec}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+exec@{ec\+\_\+fsm\+\_\+sii\+\_\+exec}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+exec()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+sii\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Executes the S\+II state machine. 

\begin{DoxyReturn}{Returns}
false, if the state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 137 of file fsm\+\_\+sii.\+c.

\mbox{\label{fsm__sii_8c_a2408e4df539edddead44761dbe32ef45}} 
\index{fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}!ec\+\_\+fsm\+\_\+sii\+\_\+success@{ec\+\_\+fsm\+\_\+sii\+\_\+success}}
\index{ec\+\_\+fsm\+\_\+sii\+\_\+success@{ec\+\_\+fsm\+\_\+sii\+\_\+success}!fsm\+\_\+sii.\+c@{fsm\+\_\+sii.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+sii\+\_\+success()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+sii\+\_\+success (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+sii\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Returns, if the master startup state machine terminated with success. 

\begin{DoxyReturn}{Returns}
non-\/zero if successful. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & Finite state machine \\
\hline
\end{DoxyParams}


Definition at line 152 of file fsm\+\_\+sii.\+c.

